<%@ include file="/en/jsp/static.jsp" %>
<jsp:include page="/en/jsp/header.jsp" flush="true"/>
<SCRIPT LANGUAGE="Javascript">

function checkFields() {
  if (document.confirm.CAT_NAME.value == null || document.confirm.CAT_NAME.value == "") {
    alert("The name is missing.");
    return false;
  }

  return true;
}

function saveChanges() {
  if (checkFields()) {
      document.confirm.action = "<%=BoxStatic.servletDir%>BbsCatAddAction";
      document.confirm.submit();
  }
}
</SCRIPT>

<table width="100%" height=26 align=middle border=0 cellpadding=0 cellspacing=0 bgcolor="#f4f4f4" style="font-size:16px;color:#d05000">
<tr><td>
    &nbsp;<img src="<%=BoxStatic.imageDir%>itemball.jpg" width=14 height=15 border=0 align="absmiddle">
    <b><%=boxName%> - BBS - Add/Edit BBS Category</b>
</td></tr>
</table>



<FORM METHOD="POST" NAME="confirm">

<hr width="100%" color=#E06000 align=left>

<TABLE ALIGN="center" BGCOLOR="#336633" BORDER="0" CELLPADDING="1" CELLSPACING="0" WIDTH="98%">
  <TR><TD BGCOLOR=#7EC1F3>
    <TABLE ALIGN="center" BGCOLOR="#336633" BORDER="0" CELLPADDING="0" CELLSPACING="5" WIDTH="100%">
      <TR><TD BGCOLOR=#7EC1F3>
        <p class="white"><b>&nbsp;Add  bbs category</b></p>
      </TD></TR>
    </TABLE>

    <TABLE ALIGN="center" BGCOLOR="#f6f6f6" BORDER="0" CELLPADDING="5" CELLSPACING="0" WIDTH="100%" HEIGHT="100%">
      <TR><TD class="bg_lightgray" colspan="2"><br>
        <p class="red">&nbsp;&nbsp; <i>Note: Required fields are indicated with an Asterisk (*).</i></p>
      </TD></TR>
      <TR>
        <TD ALIGN="left" VALIGN="top" WIDTH="30%" class="bg_lightgray">
        <B>Category Name *</B>
        </TD>
        <TD ALIGN="left" VALIGN="top" WIDTH="70%" class="bg_lightgray">
        <INPUT TYPE="text" SIZE="32" NAME="CAT_NAME" MAXLENGTH="32">
        </TD>
      </TR>

      <TR><TD class="bg_lightgray" colspan="2">
      <HR NOSHADE size="1">
        <A HREF="javascript: saveChanges()"><IMG src="<%=BoxStatic.imageDir%>hbeam_btn_save.gif" width="110" height="20" border="0" alt="Save Changes"></A><!--
        --><A HREF="<%=BoxStatic.jspDir%>bbs/BbsCatAdmin.jsp"><IMG SRC="<%=BoxStatic.imageDir%>hbeam_btn_cancel.gif" width="110" height="20" border="0" alt="Cancel"></A><BR>
       </TD></TR>
    </TABLE>
  </TD></TR>
</TABLE>
</FORM>

<hr width="100%" color=#E06000 align=left>

<jsp:include page="/en/jsp/footer.jsp" flush="true"/>
